home *** CD-ROM | disk | FTP | other *** search
/ Aminet 16 / Aminet 16 (1996)(GTI - Schatztruhe)[!][Dec 1996].iso / Aminet / dev / lang / uc_0_30.lha / u / rdocs / r0007.doc < prev   
Text File  |  1996-10-30  |  2KB  |  110 lines

  1. **********************
  2. * P R O J E C T  < U >
  3. *
  4. * Author and copyright
  5. * (c) 1996
  6. * Paul van der Valk
  7. *
  8. * file: r0007.doc
  9. * last updated: 30-oct-96
  10.  
  11.  
  12.                       THE UMGK UTILTY
  13.  
  14.  
  15. INTRODUCTION
  16.  
  17. umgk is a half-experimental, half-productive U-Code backend. It
  18. can execute and/or list a UCDB.
  19.  
  20.  
  21. USAGE:
  22.  
  23. Commandline usage:
  24.  
  25.   umgk [-s] srcfile [-d dstfile] [-?] [-x] [-l] [-c/-o nnn] 
  26.        [-v[s/c/m] nnn] [/]
  27.  
  28. Description of arguments:
  29.  
  30.  -s srcfile
  31.     Specifies the name of the UCDB sourcefile.
  32.  
  33.  -d dstfile
  34.     Specifies the name of the output listing file. Id -d is not
  35.     used then stdout will be used.
  36.  
  37.  -x
  38.     Enables execute mode. This is set by default if no mode is
  39.     specified (-l or -x). This behaviour may change in future versions.
  40.  
  41.  -l
  42.     Enables list mode.
  43.  
  44.  -o
  45.  -c
  46.     -o sets an option. -c clears it. For a listing of options see below.
  47.  
  48.  -v
  49.     Sets verbose mode. Currently not yet fully defined.
  50.  
  51.  -?
  52.     -? or just "?" shows the command usage.
  53.  
  54.  /
  55.     Seperates the umgk arguments from the UCode-application arguments.
  56.  
  57.  
  58. LIST OF OPTIONS (-o / -c)
  59.  
  60. Note: all options are off by default. -c is provided for future purposes. 
  61.  
  62. All options apply to the listing output, unless noted otherwise.
  63.  
  64.  -o1
  65.    Disables ';' after expressions. May or may not improve readability
  66.    of the listing.
  67.  
  68.  -o2
  69.    Use C-style assignments ("="). Default is ":="
  70.  
  71.  -o3
  72.    Use C-style equal operator ("=="). Default is "=".
  73.  
  74.  -o4
  75.    Use C-style not-equal operator ("!="). Default is "<>".
  76.  
  77.  -o5
  78.    Use "BEGIN" and "END" instead of "{" and "}" for codeblocks.
  79.  
  80.  -o6
  81.    Force keyword to uppercase. Default is mixed case.
  82.  
  83.  -o7
  84.    Force keyword to lowercase. Default is mixed case.
  85.  
  86.  -o8
  87.    Ignore sourceformat(0) code. Multiple instructions per line
  88.    are converted to one instruction per line.
  89.  
  90.  -o9
  91.    Ignore sourceformat(1) code. Blank lines will be ignored.
  92.  
  93.  -o10
  94.    Ignore comments.
  95.  
  96.  -o11
  97.    Convert after-instruction comment to indented-newline comment.
  98.  
  99.  -o12
  100.    Convert indented comment to start-of-line-comment.
  101.  
  102.  -o13
  103.    Forces a body ("{...}}, or "BEGIN...END" with -o5) around
  104.    single instructions.
  105.  
  106.  -o14
  107.    Places the open-body token ("{" ot "BEGIN") right after the
  108.    current instruction. Default is indented at next line.
  109.  
  110.